﻿<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.evolutility.com" title="采购订单" icon="cube.gif" description="">
  <data dbtable="MRP_Purchase" splogin="asp.net membership" dbcolumnpk="ID" sppaging="EvoSP_PagedItem @SQLselect, @SQLtable, @SQLfrom, @SQLwhere, @SQLorderby, @SQLpk, @pageid, @pagesize" />
  <panel userid="1" ppos="1" label="采购订单" width="100">
    <field id="181" type="text" typeid="5" label="采购单号" dbcolumn="OrderNo" dbcolumnread="OrderNo" maxlength="30" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1147" panelid="2" type="lov" typeid="5" label="供应商名称" dbcolumn="SupplierID" dependency ="MaterialID" dbcolumnread="SupplierName" dbcolumnreadlov="SupplierName" dbtablelov="View_GetSupplierByMaterial" maxlength="2" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="153"  type="lov" typeid="5" label="材料名称" dbcolumn="MaterialID" dbcolumnread="NameAndCode" dbcolumnreadlov="NameAndCode" dbwherelov="View_MaterialNameAndCode.MType>5" dbtablelov="View_MaterialNameAndCode" maxlength="2" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="60" />
    <field id="147" panelid="1" type="integer" typeid="10" label="数量" dbcolumn="Quantity" dbcolumnread="Quantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="133" type="datetime" typeid="17" label="下单时间" format="{0:d} {0:t}" dbcolumn="OrderDate" defaultvalue="_now" dbcolumnread="OrderDate" maxlength="32" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="25" />
    <field id="134" type="lov" typeid="5" label="订单状态" defaultvalue="1" dbcolumn="Status" dbcolumnread="OrderStatus"
dbtablelov="View_Order_Status_List" dbcolumnreadlov="DisplayText" maxlength="0" readonly="0" required="0" optional="" fpos="30" search="0" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="191" type="textmultiline" typeid="6" label="备注" dbcolumn="Notes" dbcolumnread="Notes" maxlength="256" readonly="0" required="" optional="" fpos="120" search="1" searchadv="1" searchlist="" height="3" width="100" />
    <field id="1691" type="command" typeid="99" label="操作" dbcolumn="发布"  dependency="Status,=,1" dbcolumnread="cmd1" maxlength="8" readonly="1" required="" optional="" fpos="120" search="1" searchadv="1" searchlist="1" height="1" width="10" />
  </panel>
</form>